home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / live / etc / makedev.d / inputjoystick < prev    next >
Encoding:
Text File  |  2002-08-13  |  177 b   |  8 lines

  1. $numdevs{$name} = 32;
  2. $stddevs{$name} = "^(input/js[0-1]\d*)\$";
  3.  
  4. $generate{$name} = sub {
  5.     mkdir "input", 0755;
  6.     &$MkNod ("public", sprintf("input/js%d", $i), "c", 13, $i );
  7. }
  8.